Clarify docs a bit
authorMatthias Clasen <mclasen@redhat.com>
Sat, 16 Apr 2016 02:13:30 +0000 (22:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 16 Apr 2016 02:22:48 +0000 (22:22 -0400)
The wording here was just awkward: TRUE is returned if... Note that
FALSE is also returned if...

gdk/gdkkeys.c

index d9185fda4b413df461ae0c193fcf6f056852eee2..d7f76a9513d993a567d6ace0137ea3d00b1a1b4a 100644 (file)
@@ -613,7 +613,7 @@ gdk_keymap_add_virtual_modifiers (GdkKeymap       *keymap,
  * This function is useful when matching key events against
  * accelerators.
  *
- * Returns: %TRUE if no virtual modifiers were mapped to the
+ * Returns: %FALSE if two virtual modifiers were mapped to the
  *     same non-virtual modifier. Note that %FALSE is also returned
  *     if a virtual modifier is mapped to a non-virtual modifier that
  *     was already set in @state.